package com.hx.staticState.demo2;

/**
 * @Author： Huathy
 * @ClassPath： com.hx.builder.com.hx.staticState.demo2.Test
 * @Date： 2021-01-31 15:21
 * @Description：
 */
public class Test {
    public static void main(String[] args) {
        //创建者：服务员
        Worker worker = new Worker();
        //链式编程
        Product product = worker.builderA("aa").getProduct();
        System.out.println(product);
    }
}
